Skip to content

ci: disable provenance in metadata to avoid size limits#94

Merged
sxd merged 1 commit intomainfrom
dev/disable-provenance-metadata
Feb 4, 2026
Merged

ci: disable provenance in metadata to avoid size limits#94
sxd merged 1 commit intomainfrom
dev/disable-provenance-metadata

Conversation

@mnencia
Copy link
Member

@mnencia mnencia commented Jan 31, 2026

Docker Buildx 0.31.0 includes full provenance attestations in the metadata output for multi-platform builds, resulting in 444KB+ JSON that exceeds bash argument list limits.

Setting BUILDX_METADATA_PROVENANCE=disabled excludes provenance from the metadata file while keeping attestations attached to images in the registry.

Related: cloudnative-pg/cloudnative-pg#9826

@mnencia mnencia requested review from a team and NiccoloFei as code owners January 31, 2026 17:08
Docker Buildx 0.31.0 includes full provenance attestations in the
metadata output for multi-platform builds, resulting in 444KB+ JSON
that exceeds bash argument list limits.

Setting BUILDX_METADATA_PROVENANCE=disabled excludes provenance from
the metadata file while keeping attestations attached to images in
the registry.

Related: cloudnative-pg/cloudnative-pg#9826
Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
@NiccoloFei NiccoloFei force-pushed the dev/disable-provenance-metadata branch from f6052c9 to 1170999 Compare February 2, 2026 16:45
@sxd sxd merged commit 55838aa into main Feb 4, 2026
36 checks passed
@sxd sxd deleted the dev/disable-provenance-metadata branch February 4, 2026 10:53
mbiagetti pushed a commit to mbiagetti/postgres-extensions-containers that referenced this pull request Feb 23, 2026
…pg#94)

Docker Buildx 0.31.0 includes full provenance attestations in the
metadata output for multi-platform builds, resulting in 444KB+ JSON
that exceeds bash argument list limits.

Setting BUILDX_METADATA_PROVENANCE=disabled excludes provenance from
the metadata file while keeping attestations attached to images in
the registry.

Related: cloudnative-pg/cloudnative-pg#9826

Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants